home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / BASIC / LIB / EVENTSHELL / DOCS / ColourPick < prev    next >
Text File  |  1996-04-11  |  2KB  |  92 lines

  1. This extension library should be installed using the
  2. LIBRARY command and initialised with a call to
  3. <FN_shell_ColourPick_Init>. This call must be made AFTER
  4. <PROCshell_Init> has been called.
  5.  
  6. Additionally the messages from the file 'Resources.
  7. UK.colourpick' should be added to the application's
  8. message file.
  9. --------------------------------------------------------
  10.  
  11. FNshell_ColourPick_Init
  12. =>    None
  13.  
  14. <=    bool    TRUE if module initialised correctly
  15.          FALSE otherwise
  16.  
  17. --------------------------------------------------------
  18.  
  19. FNshell_ColourPickerModuleLoaded
  20. =>    None
  21.  
  22. <=    bool    TRUE if Acorn colour picker module is
  23.          loaded, FALSE otherwise
  24.  
  25. --------------------------------------------------------
  26.  
  27. FNshell_ColourPickerUsingStandard
  28. =>    None
  29.  
  30. <=    bool    TRUE if Acorn colour picker is being
  31.          used, FALSE otherwise
  32.  
  33. --------------------------------------------------------
  34.  
  35. PROCshell_AttachPopupColourPicker()
  36. =>    int    window handle
  37.     int    icon handle
  38.     int    display icon handle
  39.     str    function to call when selection is made
  40.     str    function to call before dbox opens
  41.  
  42. Button type of icon dbox is attached to is set to 3
  43. (Click) to ensure that event is received.
  44.  
  45. Notify FN
  46. =>    int    Red    value selected    (1-100)
  47.     int    Green    value selected    (1-100)
  48.     int    Blue    value selected    (1-100)
  49.  
  50. <=    int    no meaning
  51.  
  52. PreOpen FN
  53. =>    int window handle of dbox
  54.  
  55. <=    int    no meaning
  56.  
  57. --------------------------------------------------------
  58.  
  59. PROCshell_ColourPickerAllowColourNone()
  60. =>    bool    TRUE colour 'none' allowed. FALSE
  61.                 disallowed
  62.  
  63. Sets whether the 'none' option button is shaded in
  64. the dbox.
  65.  
  66. --------------------------------------------------------
  67.  
  68. PROCshell_ColourPickerSetColour
  69. =>    int    Red    value    (0-100)
  70.     int    Blue    value    (0-100)
  71.     int    Green    value    (0-100)
  72.  
  73.  
  74. --------------------------------------------------------
  75.  
  76. PROCshell_ColourPickerUseNonStandard
  77. =>    none
  78.  
  79. Use the 'EvntShell' style colour selector dbox instead
  80. of the Acorn one.
  81.  
  82. --------------------------------------------------------
  83.  
  84. PROCshell_ColourPickerUseStandard
  85. =>    none
  86.  
  87. Use the standard Acorn colour selector dbox. Has no
  88. effect if the ColourPicker module is not loaded.
  89.  
  90. --------------------------------------------------------
  91.  
  92.